# basics.py
def greet(name):
    return f"Hello, {name}!"

if __name__ == "__main__":
    name = input("请输入你的名字: ")
    print(greet(name))
    # 列表练习
    nums = [3,1,4,1,5]
    print("最大值:", max(nums))
    # 简单循环
    for i, n in enumerate(nums,1):
        print(i, n)
